package xcmg.device.service.warehouse.allot.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 区域调拨计划详情表 VO类
 */
@AllArgsConstructor
@Builder
@Data
@ToString
public class RegionAllotPlanDetailVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "唯一标识")
    private String id;
    @ApiModelProperty(value = "主表ID")
    private String headerId;
    @ApiModelProperty(value = "调拨单号")
    private String allotPlanOrder;
    @ApiModelProperty(value = "零件编号")
    private String materialNo;
    @ApiModelProperty(value = "零件名称")
    private String materialName;
    @ApiModelProperty(value = "零件类型")
    private String materialType;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "创建人id")
    private String createId;
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    @ApiModelProperty(value = "创建日期")
    private Date createDate;
    @ApiModelProperty(value = "组织ID")
    private String orgId;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "计划调拨数量")
    private BigDecimal planAmount;
    @ApiModelProperty(value = "已执行调拨数量")
    private BigDecimal allotAmount;
    @ApiModelProperty(value = "计划状态  0 编辑、1已提交、2部分调拨、3结单、4已完成")
    private Integer planStatus;

    public RegionAllotPlanDetailVO() {
        super();
    }

    //非DO信息
    @ApiModelProperty(value = "实际库存数量")
    private BigDecimal enableNum;
    @ApiModelProperty(value = "意向占用数量")
    private BigDecimal intentionNum;
    @ApiModelProperty(value = "发货占用数量")
    private BigDecimal deliveryNum;
}
